Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update argmin-math requirement from 0.3.0 to 0.4.0 #32

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 29, 2024

Updates the requirements on argmin-math to permit the latest version.

Release notes

Sourced from argmin-math's releases.

argmin-math-v0.3.0

What's Changed

New Contributors

Full Changelog: argmin-rs/argmin@argmin-math-v0.2.1...argmin-math-v0.3.0

Changelog

Sourced from argmin-math's changelog.

[argmin-math v0.3.0] 2023-01-28

Added

  • Added support for nalgebra 0.32

Changed

  • All math backends now implement all math related traits (apart from the Vec backend which does not implement ArgminInv). Therefore (almost) all solvers work with all backends. (@​hypotrochoid, @​stefan-k)
  • More primitive and complex types are now covered as well (@​stefan-k)
  • Reached 100% test coverage (@​stefan-k)
  • InverseError is not Clone anymore (@​stefan-k)
  • Upgraded ndarray-linalg to version 0.16 for the ndarray 0.15 backend

[argmin-math v0.2.1] 2022-09-09

Added

  • Added ArgminMinMax and ArgminSignum implementation for nalgebra types. Now the L-BFGS should work work with the nalgebra backend again. (#257, #258, @​stefan-k)
  • Added an L-BFGS example using the nalgebra backend (#258, @​stefan-k)

[argmin v0.7.0] and [argmin-math v0.2.0] 2022-08-28

Added

  • L1 regularization added to L-BFGS (also known as OWL-QN). L-BFGS now has more trait bounds, please consult the documentation if this causes problems. (#244, #248, #250, Thanks to @​vbkaisetsu)

Changed

  • The ArgminL1Norm trait was added by @​vbkaisetsu for the L1 regularization in L-BFGS. In order to make the L2 norm more consistent, the corresponding trait was renamed from ArgminNorm to ArgminL2Norm and the norm method was renamed to l2_norm. (#253, @​stefan-k)

Fixed

  • Version 0.6 accidentally removed the possibility to deactivate the ndarray-linalg dependency in argmin-math. This leads to problems in downstream crates which do not need the functionality of ndarray-linalg and want to avoid linking angainst a BLAS. In this version, this functionality was added again. Please consult the documentation of argmin-math for details on the available backends and their configuration. (#243, #249, @​stefan-k)
  • Fixed type alias names in examples (#245, Thanks to @​vbkaisetsu)
  • Fixed a bug in dogleg method (#246, #247, @​stefan-k, Thanks to @​renato145 for reporting!)

[argmin v0.6.0] and [argmin-math v0.1.0] 2022-08-09

This is a rather large release with many (breaking) changes.

  • Code related to the abstraction of math backends was split of into the argmin-math crate. This crate offers now the traits related to math operations as well as their implementations for various backends (vec, ndarray, nalgebra). The backends can be turned on and off as needed. It also supports different versions of the backends.
  • The serde dependency is now optional and feature-gated via serde1. Disabling the serde1 feature disables checkpointing and some logging.
  • The ArgminOp trait was removed and replaced with more specialized traits such as Operator, CostFunction, Gradient, Jacobian, Hessian, Anneal. All of the above mentioned traits come with bulk_* methods which allow one to compute cost function, gradients,... in parallel as long as the rayon feature is enabled. This is so far used in Particle Swarm Optimization.
  • The handling of solver-internal state was redesigned completely to allow for various kinds of state, depending on the solver. There is a State trait now which defines the basic functionality that a state must offer.
  • Many aspects were redesigned to avoid unnecessary cloning
  • ArgminResult was renamed to OptimizationResult and also has a more useful API now. It returns the solver, the problem and the final internal state.
  • The Solver trait was redesigned
  • The solver is now configured/initialized via the configure method on Executor
  • KV does not store Strings anymore but rather dyn Display. This avoids unnecessarily stringifying variables when no observer is used.
  • Checkpointing is now a trait (so everyone can implement their own checkpointing mechanisms). Also the handling of checkpoints was completely redesigned.
  • Made the API surface a bit more consistent.

... (truncated)

Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [argmin-math](https://github.com/argmin-rs/argmin) to permit the latest version.
- [Release notes](https://github.com/argmin-rs/argmin/releases)
- [Changelog](https://github.com/argmin-rs/argmin/blob/main/CHANGELOG.md)
- [Commits](argmin-rs/argmin@argmin-math-v0.3.0...argmin-math-v0.3.0)

---
updated-dependencies:
- dependency-name: argmin-math
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jul 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants